import { post } from '../http'
import { cherryPick2Dict } from '@/utils/formatResponseData'

export const clientInfoPageData = () =>
  post({
    url: '/clientInfo/getEnums',
    format: (res) =>
      cherryPick2Dict(res.result, {
        InvoiceTypeEnum: 'InvoiceTypeEnum', // 发票类型
        IdentStatusEnum: 'IdentStatusEnum', // 认证状态
      }),
  })
